<template>
	<view class="bg">
		<view class="main">
			<view class="main-list">
				<view class="img">
					<view class="have">吧台有货</view>
					<image src="/static/images/extension.png" mode=""></image>
				</view>
				<view class="detail">
					<view class="name">爱上电话卡觉得哈德阿松大</view>
					<view class="name">500ml 单瓶装</view>
					<view class="card">
						<view class="card-list">纯粮酿造</view>
						<view class="card-list">纯麦酿造</view>
					</view>
					<view class="bot">
						<view class="price">￥185</view>
						<view class="sc">
							<!-- <image class="sc_k" src="/static/wine-index/sc_icon_sc.png" mode=""></image> -->
							<image class="sc_k" src="/static/wine-index/sc_icon_sc_red.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
			<view class="main-list">
				<view class="img">
					<image src="/static/images/extension.png" mode=""></image>
				</view>
				<view class="detail">
					<view class="name">爱上电话卡觉得哈德阿松大</view>
					<view class="name">500ml 单瓶装</view>
					<view class="card">
						<view class="card-list">纯粮酿造</view>
						<view class="card-list">纯麦酿造</view>
					</view>
					<view class="bot">
						<view class="price">￥185</view>
						<view class="sc">
							<image class="sc_k" src="/static/wine-index/sc_icon_sc.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
			<view class="main-list">
				<view class="img">
					<image src="/static/images/extension.png" mode=""></image>
				</view>
				<view class="detail">
					<view class="name">爱上电话卡觉得哈德阿松大</view>
					<view class="name">500ml 单瓶装</view>
					<view class="card">
						<view class="card-list">纯粮酿造</view>
						<view class="card-list">纯麦酿造</view>
					</view>
					<view class="bot">
						<view class="price">￥185</view>
						<view class="sc">
							<image class="sc_k" src="/static/wine-index/sc_icon_sc.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
			<view class="main-list">
				<view class="img">
					<image src="/static/images/extension.png" mode=""></image>
				</view>
				<view class="detail">
					<view class="name">爱上电话卡觉得哈德阿松大</view>
					<view class="name">500ml 单瓶装</view>
					<view class="card">
						<view class="card-list">纯粮酿造</view>
						<view class="card-list">纯麦酿造</view>
					</view>
					<view class="bot">
						<view class="price">￥185</view>
						<view class="sc">
							<image class="sc_k" src="/static/wine-index/sc_icon_sc.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.bg {
		background: #f2f3f7;
		height: 100vh;
		width: 100vw;
		position: fixed;
		.main {
			margin-top: 30rpx;
			.main-list {
				margin-bottom: 8rpx;
			    padding:30rpx 50rpx;
			background: white;
				display: flex;

				.img {
					height: 25vw;
					width: 25vw;
					position: relative;
					.have{
						position: absolute;
						    right: 0;
						    font-size: 24rpx;
						    font-weight: 400;
						    color: #C30D23;
							background: #FFE5E5;
							border-radius: 0px 0px 0px 40rpx;
							opacity: 1;
							padding: 5rpx;
							padding-left: 18rpx;
					}
				}

				.detail {
					width: 60vw;
					margin-left: 40rpx;
					.name {
						font-size: 28rpx;
						font-weight: 400;
						margin-bottom: 6rpx;
					}

					.card {
						.card-list {
							display: inline-block;
							font-size: 22rpx;
							font-family: PingFang SC-Regular, PingFang SC;
							font-weight: 400;
							color: #FF8843;
							background: #FFEEE5;
							padding: 4rpx;
							margin-right: 6rpx;
							border: 1rpx #EF6C00 solid;
						}
					}
					.bot{
						display: flex;
						align-items: center;
						justify-content: space-between;
						margin-top: 20rpx;
						.price{
							font-size: 36rpx;
							font-weight: 500;
							color:red;
						}
						.sc{
							height: 40rpx;
							width: 40rpx;
						}
					}
				}
			}
		}
	}
</style>
